#ifndef __EPOLL_H__
#define __EPOLL_H__

//添加epoll读事件监听
int epollAddReadEvent(
    int epoll_fd,           //添加的epoll的id
    int fd                  //被加入的描述符
);

//添加epoll写事件监听
int epollAddWriteEvent(
    int epoll_fd,
    int fd
);

//删除epoll读事件监听
int epollDeleteReadEvent(
    int epoll_fd, 
    int fd
);

//删除epoll写事件监听
int epollDeleteWriteEvent(
    int epoll_fd, 
    int fd
);


#endif
